Release 10.1A: OpenEdge Data Management:
DataServer for ORACLE
Static FIND cursor repositioning
With the DataServer, cursor repositioning will work with an ORACLE database the same as it does with the Progress 4GL, except when the ORACLE Database Manager fails to find a record. In the Progress 4GL, the cursor is located after the last record that was read. In ORACLE, a failed search does not affect the cursor. For example, if a cursor is positioned at
cust-num50 and a request to findcustomer“smith” in an ORACLE table fails, the cursor remains atcust-num50. The same failed request from a Progress 4GL table places the cursor after the lastcustomerread trying to findcustomer“smith”.The DataServer repositions only cursors used by
FINDNEXT/PREV/CURRENTstatements. Cursors are never repositioned forFOREACHstatements, new queries, or dynamicFINDs. When the DataServer instructs the ORACLE RDBMS to perform a join (JOIN-BY-SQLDB), the cursor that the join uses does not reposition other cursors in use by the query. The cursor forDEFINEQUERYor dynamicFINDstatements does not reposition cursors in other queries.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |